﻿using System;
namespace Pay.Data {
	/// <summary>
	/// 信用卡申请
	/// </summary>
	public class CardApply {
		public CardApply() {
		}

		public long Id { get; set; }
		/// <summary>
		/// 订单号
		/// </summary>
		public string OrderNo { get; set; }
		/// <summary>
		/// 商户id
		/// </summary>
		public long MerchantId { get; set; }
		/// <summary>
		/// 办卡商户id
		/// </summary>
		public long? BindId { get; set; }
		/// <summary>
		/// 申请人姓名
		/// </summary>
		public string Name { get; set; }
		/// <summary>
		/// 申请人手机号
		/// </summary>
		public string Mobile { get; set; }
		/// <summary>
		/// 申请人身份证
		/// </summary>
		public string IdCard { get; set; }
		/// <summary>
		/// 查询办卡进度地址
		/// </summary>
		public string SearchUrl { get; set; }
		/// <summary>
		/// 回调地址
		/// </summary>
		public string Notify { get; set; }
		/// <summary>
		/// 订单状态:1申请中，2已成功（有分润），3已取消
		/// </summary>
		public int Status { get; set; }
		/// <summary>
		/// 分润分配［］
		/// </summary>
		public string Profit { get; set; }
		/// <summary>
		/// 支付信息id
		/// </summary>
		public long? PayId { get; set; }
		/// <summary>
		/// 订单时间
		/// </summary>
		public long OrderTime { get; set; }
		/// <summary>
		/// 银行名称
		/// </summary>
		public string BankName { get; set; }

		/// <summary>
		/// o单商户
		/// </summary>
		public virtual Merchant Merchant { get; set; }
		/// <summary>
		/// 小商户
		/// </summary>
		public virtual Merchant Binder { get; set; }
		/// <summary>
		/// 支付信息表
		/// </summary>
		public virtual PayInfo PayInfo { get; set; }
	}
}
